CSCHED: Optimize __runq_tickle to reduce IPIs
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 6 Apr 2010 05:59:32 +0000 (06:59 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 6 Apr 2010 05:59:32 +0000 (06:59 +0100)
commite4434634c4a66c9285be4e99da24daf50fc76b8f
tree4111fa1bca8b4e7f9c1099f8388472fb5169375f
parentb97d94b4efc12d46c58b98a5f60b0f29c3027021
CSCHED: Optimize __runq_tickle to reduce IPIs

Limiting the number of idle cpus tickled for vcpu migration purpose
to ONLY ONE to get rid of a lot of IPI events which may impact the
average cpu idle residency time.

The default on option 'tickle_one_idle_cpu=0' can be used to disable
this optimization if needed.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/common/sched_credit.c